package org.nepu.scr.indexrate.vo.drillingrate.jobarticulation;

import lombok.Data;
import org.nepu.scr.indexrate.converter.drillingrate.jobarticulation.JobInputConverter;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
public class OtherJob {

    //卷扬制动器失灵
    @Convert(converter = JobInputConverter.class)
    @Column(name = "windmill_brake_failure")
    JobInput windmillBrakeFailure;

    //重物捆扎不当
    @Convert(converter = JobInputConverter.class)
    @Column(name = "overturn_failure")
    JobInput overturnFailure;

    //重力作业
    @Convert(converter = JobInputConverter.class)
    @Column(name = "gravity_work")
    JobInput gravityWork;

    //未及时启动卷扬机
    @Convert(converter = JobInputConverter.class)
    @Column(name = "windmill_not_started")
    JobInput windmillNotStarted;

    //吊运中绳环断裂
    @Convert(converter = JobInputConverter.class)
    @Column(name = "string_break")
    JobInput stringBreak;

    //违章使用绳环
    @Convert(converter = JobInputConverter.class)
    @Column(name = "string_violation")
    JobInput stringViolation;

    //摇晃中未采取措施
    @Convert(converter = JobInputConverter.class)
    @Column(name = "shake_not_taken_action")
    JobInput shakeNotTakenAction;

    //操作开关失误
    @Convert(converter = JobInputConverter.class)
    @Column(name = "switch_failure")
    JobInput switchFailure;

    //限位开关失灵
    @Convert(converter = JobInputConverter.class)
    @Column(name = "limit_switch_failure")
    JobInput limitSwitchFailure;

    //重物碰到阻碍物
    @Convert(converter = JobInputConverter.class)
    @Column(name = "obstacle_hit")
    JobInput obstacleHit;

    //锁具使用不当
    @Convert(converter = JobInputConverter.class)
    @Column(name = "lock_failure")
    JobInput lockFailure;
}
